home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 054 (1988-05-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 054 (1988-05-15)(Ossowski, Stefan)(DE)(PD).adf / MRBackup / MRBackup2.0 / ConsoleStuff.h < prev    next >
C/C++ Source or Header  |  1988-04-09  |  572b  |  22 lines

  1. /* Console I/O Routines Header File
  2.  * Filename: ConsoleStuff.h
  3.  *
  4.  * This header file defines information used by routines supplied in
  5.  * Rob Peck's "Programmer's Guide to the Amiga", 1987.
  6.  */
  7.  
  8. #include <exec/io.h>
  9.  
  10. typedef struct ConIOBlocks {
  11.     struct IOStdReq *writeReq;            /* I/O write request */
  12.     struct IOStdReq *readReq;            /* I/O read request */
  13.     struct MsgPort *tpr;                /* pointer to ReplyPort */
  14.                                         /* for the console read */
  15.     } ConIOBlocks;
  16.  
  17. ConIOBlocks *CreateConsole();
  18. int DeleteConsole();
  19. void EnqueueRead();
  20. void WriteConsole();
  21. int CGetCharacter();
  22.